<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<c:if test="${not empty param.sourceContent}"><x:parse xml="${param.sourceContent}" var="sourceContent" /></c:if>
<c:if test="${not empty param.targetContent}"><x:parse xml="${param.targetContent}" var="targetContent" /></c:if>

<div class="project_box01">
	<div class="project01">项目一</div><div class="outer" title="${proposal.zhTitle }">${proposal.zhTitle }</div>
	<div class="project_analysis">
	
	<c:choose>
	<c:when test="${not empty param.sourceContent }">
	
		<div class="t_bar2" style="width: 437px; border: 0px none; padding-left: 0px;">知识产权</div>
		<table class="table01 t_css" style="width: 437px;" border="0" cellpadding="0" cellspacing="0">
			<thead >
				<tr style="border:1px solid #B7D1E6">
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >知识产权类别</th> 
					<th class="TblHead" align="center" >知识产权具体名称</th> 
					<th class="TblHead" align="center" >授权号</th> 
					<th class="TblHead" align="center" >授权日期</th> 
				</tr>
			</thead>
			<tbody id="tab">
				<x:forEach select="$sourceContent/knowledge/list" var="list">
				<tr align="center">
					<td align="left">
						<x:out select="$list/@seq_no"/>
					</td>
					<td align="left">
						<x:out select="$list/knowledge_type"/>	
					</td>
					<td align="left">
						<x:out select="$list/knowledge_name"/>	
					</td>
					<c:set var="highLight"><x:out select="$list/@high_light"/></c:set>
					<td align="center" <c:if test="${highLight != null && highLight != '' }">style="background-color:${backgroundColors[highLight] } ;"</c:if> >
						<x:out select="$list/approve_no"/>	
					</td>
					<td align="center">
						<x:out select="$list/approve_date"/>	
					</td>
				</tr>
				</x:forEach>
			</tbody>
		</table>
		
	</c:when>
	<c:otherwise>该项目没有知识产权信息</c:otherwise>
	</c:choose>
	
	</div>
</div>
<div class="project_box02">
	<div class="project01">项目二</div><div class="outer" title="${simProposal.zhTitle }">${fn:substring(simProposal.zhTitle,0,26) }</div>
	<div class="project_analysis">
	
	<c:choose>
	<c:when test="${not empty param.targetContent }">
	
		<div class="t_bar2" style="width: 437px; border: 0px none; padding-left: 0px;">知识产权</div>
		<table class="table01 t_css" style="width: 437px;" border="0" cellpadding="0" cellspacing="0">
			<thead >
				<tr style="border:1px solid #B7D1E6;" >
					<th class="TblHead" align="center" >序号</th>
					<th class="TblHead" align="center" >知识产权类别</th> 
					<th class="TblHead" align="center" >知识产权具体名称</th> 
					<th class="TblHead" align="center" >授权号</th> 
					<th class="TblHead" align="center" >授权日期</th> 
				</tr>
			</thead>
			<tbody id="tab">
				<x:forEach select="$targetContent/knowledge/list" var="list">
				<tr align="center">
					<td align="center">
						<x:out select="$list/@seq_no"/>
					</td>
					<td align="left">
						<x:out select="$list/knowledge_type"/>	
					</td>
					<td align="left">
						<x:out select="$list/knowledge_name"/>	
					</td>
					<c:set var="highLight"><x:out select="$list/@high_light"/></c:set>
					<td align="center" <c:if test="${highLight != null && highLight != '' }">style="background-color:${backgroundColors[highLight] } ;"</c:if> >
						<x:out select="$list/approve_no"/>	
					</td>
					<td align="center">
						<x:out select="$list/approve_date"/>	
					</td>
				</tr>
				</x:forEach>
			</tbody>
		</table>
		
	</c:when>
	<c:otherwise>该项目没有知识产权信息</c:otherwise>
	</c:choose>
	
	</div>
</div>